package cn.webestar.scms.api;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class TestDTO {

    @NotNull
    @Schema(description = "租户ID")
    private Long cid;

    @NotNull
    @Size(min = 5, max = 20, message = "用户名长度必须在5~20之间")
    @Schema(description = "用户名")
    private String username;

    @NotNull
    @Size(min = 1, max = 300, message = "密码加密串长度必须在1~300之间")
    @Schema(description = "密码")
    private String password;

}
